home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
fn32_3.zip
/
CUT.DOC
< prev
next >
Wrap
Text File
|
1993-02-07
|
1KB
|
24 lines
Usage: cut {-b byte-list,+bytes byte-list} [-n] [file...]
cut {-c character-list,+characters character-list} [file...]
cut {-f field-list,+fields field-list} [-d delim] [-s]
[+delimiter delim] [+only-delimited] [file...]
Options:
+bytes byte-list
-b byte-list Print only the bytes in positions listed in BYTE-LIST.
Tabs and backspaces are treated like any other character.
+characters character-list
-c character-list Print only characters in positions listed in CHARACTER-LIST.
The same as -b for now, but internationalization will change
that. Tabs and backspaces are treated like any other char.
+fields field-list
-f field-list Print only the fields listed in FIELD-LIST.
Fields are separated by a TAB by default.
+delimiter delim
-d delim For -f, fields are separated by the first character in DELIM.
-n Do not split multibyte chars (no-op for now).
+only-delimited
-s For -f, do not print lines that do not contain the field separator char.
The BYTE-LIST, CHARACTER-LIST, and FIELD-LIST are one or more numbers
or ranges separated by commas. The first byte, character, and field
are numbered 1. A FILE of `-' means standard input.